package cn.xiaomagege.platform.module.sys.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import cn.xiaomagege.platform.base.DataEntity;

public class Dict extends DataEntity<Dict> {
    private static final long serialVersionUID = 1L;
    
    private String value;
    private String label;
    private String type;
    private String description;
    private Integer sort;
    private String parentId;
    
    public String getValue() {
        return value;
    }
    
    public void setValue(String value) {
        this.value = value;
    }
    
    public String getLabel() {
        return label;
    }
    
    public void setLabel(String label) {
        this.label = label;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public Integer getSort() {
        return sort;
    }
    
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    
    public String getParentId() {
        return parentId;
    }
    
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    
    @Override
    public String toString() {
        return "Dict{" + ", value=" + value + ", label=" + label + ", type=" + type + ", description=" + description
                + ", sort=" + sort + ", parentId=" + parentId + "}";
    }
}